# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-unfurl
_pkgname=unfurl
pkgver=2021.06.15
pkgrel=5
epoch=1
pkgdesc='Use Git to record and deploy changes to your DevOps infrastructure.'
arch=('any')
url='https://github.com/obsidianforensics/unfurl'
license=('MIT')
depends=('python' 'python-requests' 'python-torf' 'python-maclookup'
         'python-ulid-py' 'python-flask' 'python-flask-cors' 'python-networkx'
         'python-protobuf' 'python-publicsuffix2' 'python-pycountry')
makedepends=('python-setuptools')
source=("https://github.com/obsidianforensics/unfurl/archive/refs/tags/v$pkgver.tar.gz")
sha512sums=('2327ea38e779276660ac3e700c308d87e5811864bd89ce8c26f701fa95fd41f2ce713116a1db9cb9509de420b304f67b840effda4307e0809ea13f45d5ffed9e')

package() {
  cd "$_pkgname-$pkgver"

  python setup.py install --root="$pkgdir" --prefix=/usr -O1
}

